package com.ruoyi.basic.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import java.util.ArrayList;
import java.util.List;

/**
 * 栏目对象 columns
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class Column extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    private Integer columnId;

    /** 父分类ID(支持多级分类) */
    private Integer parentId;

    /** 祖级列表 */
    private String ancestors;

    /** 栏目名称 */
    private String name;

    /** 类型(1内部 2外部) */
    private String type;

    /** 模型类型(1=vod,2=art,8=actor) */
    private String modelType;

    /** 栏目值 */
    private String value;

    /** 英文标识 */
    private String typeEn;

    /** 排序 */
    private Integer order;

    /** 状态（0正常 1停用） */
    private String status;

    /** 图标 */
    private String icon;

    /** 父栏目名称 */
    private String parentName;

    /** 子栏目 */
    private List<Column> children = new ArrayList<Column>();

    public Integer getColumnId() {
        return columnId;
    }

    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getTypeEn() {
        return typeEn;
    }

    public void setTypeEn(String typeEn) {
        this.typeEn = typeEn;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<Column> getChildren() {
        return children;
    }

    public void setChildren(List<Column> children) {
        this.children = children;
    }
}